﻿<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:ajax="http://www.apusic.com/jsf/ajax" xmlns:biz="http://www.kingdee.com/jsf/biz" xmlns="http://www.w3.org/1999/xhtml" xmlns:om="http://www.apusic.com/jsf/misc" xmlns:kd="http://www.kingdee.com/jsf/component" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:layout="http://www.apusic.com/jsf/layout" xmlns:h="http://java.sun.com/jsf/html" xmlns:w="http://www.apusic.com/jsf/widget" renderKitId="AJAX">
	<kd />
	<ui:composition template="/custom/aoyuan/aytime/bizbill/edit-template.xhtml">	
		<ui:define name="resBefore">	
		</ui:define>		
		<ui:define name="resAfter">
			<script type="text/javascript" src="../../../../resource/common.js"></script>	
			<script type="text/javascript" src="js/longHolidayEditui.js"></script>			
		</ui:define>
		<ui:define name="toolbar">
			<div class="titlePanel">
			<div style="margin-top: 10px">		
				<h:panelGrid columns="13">	
					<w:button id="btnSave" value="确 定" actionBinding="#{custom.aoyuan.aytime.bizbill.LongHolidayEdituiBean.saveAction}" />		
					<h:commandButton id="btnExitNotCheck" immediate="true" value="退 出" onclick="closeWindow();" />						
				</h:panelGrid>	
			</div>
			<div class="solidLine" />
			</div>
		</ui:define>	
		<ui:define name="message">
			<kd:msgArea style=""></kd:msgArea>
		</ui:define>	
		<ui:define name="header">
			<layout:panelGrid columns="2" width="100%">	
				<layout:cell colspan="1" rowspan="1">	
					<kd:labelContainer id="contStartdate" width="270" height="19" caption="开始日期" lineWidth="100" childItem="txtStartdate" jsvar="contStartdate"  >
						<w:dateField id="txtStartdate"  jsvar="txtStartdate"  required="true" requiredMessage="请输入开始日期!" >
							<kd:convertAllDate pattern="yyyy-MM-dd" castType="java.sql.Date" />
						</w:dateField>
					</kd:labelContainer>				
				</layout:cell>		
				<layout:cell colspan="1" rowspan="1">	
					<kd:labelContainer id="contendDate" width="270" height="19" caption="结束日期" lineWidth="100" childItem="txtendDate" jsvar="contendDate"  >
						<w:dateField id="txtendDate" jsvar="txtendDate" required="true" requiredMessage="请输入结束日期!" >
							<kd:convertAllDate pattern="yyyy-MM-dd" castType="java.sql.Date" />
						</w:dateField>
					</kd:labelContainer>				
				</layout:cell>
				<layout:cell colspan="1" rowspan="1">	
					<kd:labelContainer id="contStartTime" width="270" height="19" caption="开始时间" lineWidth="100" childItem="txtStartTime" jsvar="contStartTime"  >
						<w:timeField id="txtStartTime"  jsvar="txtStartTime" format="G:i:s" increment="30" required="true" requiredMessage="请输入开始时间!" >
							<kd:convertAllDate pattern="HH:mm:ss" castType="java.sql.Time" />
						</w:timeField>
					</kd:labelContainer>				
				</layout:cell>		
				<layout:cell colspan="1" rowspan="1">	
					<kd:labelContainer id="contEndTime" width="270" height="19" caption="结束时间" lineWidth="100" childItem="txtEndTime" jsvar="contEndTime"  >
						<w:timeField id="txtEndTime" jsvar="txtEndTime" format="G:i:s" increment="30" required="true" requiredMessage="请输入结束时间!" >
							<kd:convertAllDate pattern="HH:mm:ss" castType="java.sql.Time" />
						</w:timeField>
					</kd:labelContainer>				
				</layout:cell>	
				<layout:cell colspan="1" rowspan="1">	
					<kd:labelContainer id="contHolidayType" width="270" height="19" caption="假期类型" lineWidth="100" childItem="prmtHolidayType" jsvar="contHolidayType">
						<kd:promptBox id="prmtHolidayType" required="true" requiredMessage="请选择假期类型!" queryInfo="com.kingdee.eas.custom.aoyuan.aytime.basedata.app.HolidayTypeQuery" diaplayFormat="$name$" editFormat="$number$" commitFormat="$number$" jsvar="prmtHolidayType"  />
					</kd:labelContainer>			
				</layout:cell>					
			</layout:panelGrid>				
		</ui:define>	
		<ui:define name="innerAjaxActions">
			<biz:billEditInnerAjaxAction beanName="#{custom.aoyuan.aytime.bizbill.LongHolidayEdituiBean}"></biz:billEditInnerAjaxAction>
		</ui:define>	
		<ui:define name="inner-window">	
			<biz:innerWindow beanName="#{custom.aoyuan.aytime.bizbill.LongHolidayEdituiBean}"></biz:innerWindow>
			<w:form id="ajaxsubmitForm">
				<w:button id="ajaxsubmitButton" value="click me" style="display:none" />
			</w:form>
		</ui:define>
	</ui:composition>			
</f:view>		
